﻿namespace YDT_OrderService.Applications.DTOs
{
    public class OrderDto
    {
        public Guid Id { get; set; }
        public string OrderType { get; set; } = string.Empty;
        public Guid UserId { get; set; }
        public string OrderSn { get; set; } = string.Empty;
        public decimal OrderTotalPrice { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
        public DateTime? PayTime { get; set; }
        public DateTime? SendTime { get; set; }
        public DateTime? SuccessTime { get; set; }
        public string OrderStatus { get; set; } = string.Empty;
        public string OrderName { get; set; } = string.Empty;
        public string OrderTel { get; set; } = string.Empty;
        public string OrderAddress { get; set; } = string.Empty;
        public string OrderRemark { get; set; } = string.Empty;
        public List<OrderItemDto> OrderItems { get; set; } = new();
    }
}
